﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseData.Domain
{
    /// <summary>
    /// 操作日志表
    /// </summary>
    public class OperatorNlog:BaseEneity
    {
        /// <summary>
        /// 操作编号
        /// </summary>
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Key]
        public int OperatorId {  get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 操作人员
        /// </summary>
        [StringLength(20)]
        public string? OperatorName { get; set; }
        /// <summary>
        /// 所属模块【客户，订单，财务，工单】
        /// </summary>
        [StringLength(30)]
        public string? Module {  get; set; }
        /// <summary>
        /// 操作对象
        /// </summary>
        [StringLength(50)]
        public string? OperationObject {  get; set; }

        /// <summary>
        /// 操作类型【编辑，删除，处理】
        /// </summary>
        public string? OperationType {  get; set; }
    }
}
